﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Comteck.Dto.Common {
  public class DateRange {
    public DateTime StartDate { get; set; }
    public DateTime EndDate { get; set; }

    /// <summary>
    /// 
    /// </summary>
    /// <param name="startDate"></param>
    /// <param name="endDate"></param>
    public DateRange(DateTime startDate, DateTime endDate) {
      this.StartDate = startDate;
      this.EndDate = endDate;
    }

    public DateTime GetNextDate() {
      return this.EndDate.AddDays(1.0);
    }
  }
}
